package com.lanju.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="zuke_contract")
public class ZukeContract {

	private static final long serialVersionUID = -1600219019264329257L;
	
	private String contract_id;
	
	private String renter_name;
	
	private String renter_idcard;
	
	private String renter_addr;
	
	private Integer house_area;
	
	private Date renter_start_time;
	
	private Date renter_end_time;
	
	private Integer rental_price;
	
	private Integer pay_period;
	
	private Integer cash_pay_month;
	
	private Integer total_cash;
	
	private String renter_phone;
	
	private String urgency_phone;
	
	private String renter_free;
	
	private String remark;
	
	private Date create_time;
	
	private Date update_time;
	
	private Date sign_time;
	
	private String creator;
	
	private Integer rental_type;
	
	private String userId;
	
	private Integer status;
	/**
	 * 支付状态  0 ：未支付   1：审核中   2：  支付成功
	 */
	private Integer payStatus;
	
    @Id
    @Column(name="contract_id",unique=true,nullable=false)
	public String getContract_id() {
		return contract_id;
	}

	public void setContract_id(String contract_id) {
		this.contract_id = contract_id;
	}

	public String getRenter_name() {
		return renter_name;
	}

	public void setRenter_name(String renter_name) {
		this.renter_name = renter_name;
	}

	public String getRenter_idcard() {
		return renter_idcard;
	}

	public void setRenter_idcard(String renter_idcard) {
		this.renter_idcard = renter_idcard;
	}

	public String getRenter_addr() {
		return renter_addr;
	}

	public void setRenter_addr(String renter_addr) {
		this.renter_addr = renter_addr;
	}

	public Integer getHouse_area() {
		return house_area;
	}

	public void setHouse_area(Integer house_area) {
		this.house_area = house_area;
	}

	public Date getRenter_start_time() {
		return renter_start_time;
	}

	public void setRenter_start_time(Date renter_start_time) {
		this.renter_start_time = renter_start_time;
	}

	public Date getRenter_end_time() {
		return renter_end_time;
	}

	public void setRenter_end_time(Date renter_end_time) {
		this.renter_end_time = renter_end_time;
	}

	public Integer getRental_price() {
		return rental_price;
	}

	public void setRental_price(Integer rental_price) {
		this.rental_price = rental_price;
	}

	public Integer getPay_period() {
		return pay_period;
	}

	public void setPay_period(Integer pay_period) {
		this.pay_period = pay_period;
	}

	public Integer getCash_pay_month() {
		return cash_pay_month;
	}

	public void setCash_pay_month(Integer cash_pay_month) {
		this.cash_pay_month = cash_pay_month;
	}

	public Integer getTotal_cash() {
		return total_cash;
	}

	public void setTotal_cash(Integer total_cash) {
		this.total_cash = total_cash;
	}

	public String getRenter_phone() {
		return renter_phone;
	}

	public void setRenter_phone(String renter_phone) {
		this.renter_phone = renter_phone;
	}

	public String getUrgency_phone() {
		return urgency_phone;
	}

	public void setUrgency_phone(String urgency_phone) {
		this.urgency_phone = urgency_phone;
	}

	public String getRenter_free() {
		return renter_free;
	}

	public void setRenter_free(String renter_free) {
		this.renter_free = renter_free;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public Date getSign_time() {
		return sign_time;
	}

	public void setSign_time(Date sign_time) {
		this.sign_time = sign_time;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Integer getRental_type() {
		return rental_type;
	}

	public void setRental_type(Integer rental_type) {
		this.rental_type = rental_type;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}
	
}
